package java8.pojo;

public class Sender implements IMessage, IEmail {

    @Override
    public String createEmail() {
        return "Hello Email";
    }

    @Override
    public String createMessage() {
        return "Hello Message";
    }

    // 重写方法签名相同的默认方法
    @Override
    public String getTitle() {
        return IMessage.super.getTitle();
    }

}